<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a:hover {
            color: red;
            text-decoration: none;
        }

        .box:hover {
            color: green;
        }
    </style>

</head>


<body>

    <a href="#">这是一个超链接</a>
    <div class="box">这是一个 box 选择器</div>
</body>

</html>